package com.ruoyi.production.service.pesticide;

import com.ruoyi.production.domain.pesticide.PesticideApplyTemporary;

import java.util.List;

/**
 * 农药临时申请Service接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface IPesticideApplyTemporaryService
{
    /**
     * 查询农药临时申请
     *
     * @param pesticideApplyTemporaryId 农药临时申请ID
     * @return 农药临时申请
     */
    public PesticideApplyTemporary selectPesticideApplyTemporaryById(Long pesticideApplyTemporaryId);

    /**
     * 查询农药临时申请列表
     *
     * @param pesticideApplyTemporary 农药临时申请
     * @return 农药临时申请集合
     */
    public List<PesticideApplyTemporary> selectPesticideApplyTemporaryList(PesticideApplyTemporary pesticideApplyTemporary);

    /**
     * 新增农药临时申请
     *
     * @param pesticideApplyTemporary 农药临时申请
     * @return 结果
     */
    public int insertPesticideApplyTemporary(PesticideApplyTemporary pesticideApplyTemporary);

    /**
     * 修改农药临时申请
     *
     * @param pesticideApplyTemporary 农药临时申请
     * @return 结果
     */
    public int updatePesticideApplyTemporary(PesticideApplyTemporary pesticideApplyTemporary);

    /**
     * 批量删除农药临时申请
     *
     * @param pesticideApplyTemporaryIds 需要删除的农药临时申请ID
     * @return 结果
     */
    public int deletePesticideApplyTemporaryByIds(Long[] pesticideApplyTemporaryIds);

    /**
     * 删除农药临时申请信息
     *
     * @param pesticideApplyTemporaryId 农药临时申请ID
     * @return 结果
     */
    public int deletePesticideApplyTemporaryById(Long pesticideApplyTemporaryId);
}
